package org.apoiolivre.model;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable
public class Category extends ALEntity {

	
	@Persistent
	private Category parent;
	
	@Persistent
	private String description;

	
	public Category() { }
	
	
	public Category(String description) {
		this.description = description;
	}



	public Category getParent() {
		return parent;
	}

	public void setParent(Category parent) {
		this.parent = parent;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	
	
	
}
